package com.cda.common.annotation;

/**
 * 事情类型
 */
public enum EventType {
    DEFAULT("默认", "default"), ADD("添加", "add"), FIND("查询", "find"), UPDATE("更新", "update"), DELETE_SINGLE("删除", "delete-single"),
    LOGIN("登录","login"),LOGIN_OUT("注销","login_out"),getToken("获取token","token");

    private EventType(String index, String name){
        this.name = name;
        this.event = index;
    }
    private String event;
    private String name;
    public String getEvent(){
        return this.event;
    }

    public String getName() {
        return name;
    }
}
